<template>
  <div class="index">
    <router-link class="el-link"  to="/login">登录</router-link>
      <!-- react -->
      <!-- <router-link to="/home/users">跳转路由</router-link> -->
      <router-link to="/users">跳转路由</router-link>
    <img src="../assets/index-pic.png" alt="" srcset="">
  </div>
</template>

<script>
export default {
  name: 'HomeView',
}
</script>

<style lang="css" scoped>
/* 子绝父相 */
.index {
  position: relative;
  left: 0px;
  top: 0px;
}
.el-link {
  position: absolute;
  right: 20px;
  top: 10px;
}
</style>